package com.well.menjin.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

@Entity(name = "door_role")
public class Role implements Serializable {

	private static final long serialVersionUID = 7992769788231205400L;

	@Id
	@GenericGenerator(name="id",strategy="uuid2")
	@GeneratedValue(generator="id")
	private String id;
	
	//角色编号
	private Integer role_id;
	
	//角色名称
	private String role_name;
	
	//备注信息
	private String remark;
	
	//状态
	private String state;
	
	//创建日期
	@Temporal(TemporalType.TIMESTAMP)
	private Date create_date;
	
	//创建人
	private String create_by;

	public String getId() {
		return id;
	}

	public Integer getRole_id() {
		return role_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public String getRemark() {
		return remark;
	}

	public String getState() {
		return state;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public String getCreate_by() {
		return create_by;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setRole_id(Integer role_id) {
		this.role_id = role_id;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setState(String state) {
		this.state = state;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public void setCreate_by(String create_by) {
		this.create_by = create_by;
	}
	
	
}
